package cn.demo.mvc.mapper;

import cn.demo.mvc.model.Author;

import java.util.List;

public interface AuthorMapper {
    public List<Author> listAuthors();
    public List<Author> searchAuthor(String name);
    public int addAuthor(Author author);
    public int updateAuthor(Author author);
    public int deleteAuthorById(int id);
}
